import {createRoot} from 'react-dom/client'
import './index.css'

import {createHashRouter, RouterProvider} from "react-router-dom";
// 导入路由配置
import router from "./router.jsx";

createRoot(document.getElementById('root')).render(
  <RouterProvider router={createHashRouter(router)} />
)
